﻿namespace ltModel.Model
{
    #region message.Model
    /// <summary>
	/// 实体类message(留言)
	/// </summary>
	public class message
	{
		public message()
		{}
		#region Model
		private int _id;
		private string _username;
		private string _tel;
		private string _email;
		private string _addr;
		private string _title;
		private string _content;
		private string _addtime;
		private string _ip;
		private string _rel;
		private string _relren;
		private string _relip;
		private string _reltime;
		private int _zt;
		private int _hits;
		private string _class;
		private string _pho;
        private string _sex;
		/// <summary>
		/// ID
		/// </summary>
		public int id
		{
		set{ _id=value;}
		get{return _id;}
		}
		/// <summary>
		/// 留言人
		/// </summary>
		public string username
		{
		set{ _username=value;}
		get{return _username;}
		}
		/// <summary>
		/// 手机电话
		/// </summary>
		public string tel
		{
		set{ _tel=value;}
		get{return _tel;}
		}
		/// <summary>
        /// 电子邮箱
		/// </summary>
		public string email
		{
		set{ _email=value;}
		get{return _email;}
		}
		/// <summary>
		/// 地址
		/// </summary>
		public string addr
		{
		set{ _addr=value;}
		get{return _addr;}
		}
		/// <summary>
		/// 主题
		/// </summary>
		public string title
		{
		set{ _title=value;}
		get{return _title;}
		}
		/// <summary>
		/// 内容
		/// </summary>
		public string content
		{
		set{ _content=value;}
		get{return _content;}
		}
		/// <summary>
		/// 留言时间
		/// </summary>
		public string addtime
		{
		set{ _addtime=value;}
		get{return _addtime;}
		}
		/// <summary>
		/// 留言IP
		/// </summary>
		public string ip
		{
		set{ _ip=value;}
		get{return _ip;}
		}
		/// <summary>
		/// 回复
		/// </summary>
		public string rel
		{
		set{ _rel=value;}
		get{return _rel;}
		}
		/// <summary>
		/// 回复人
		/// </summary>
		public string relren
		{
		set{ _relren=value;}
		get{return _relren;}
		}
		/// <summary>
		/// 回复IP
		/// </summary>
		public string relip
		{
		set{ _relip=value;}
		get{return _relip;}
		}
		/// <summary>
		/// 回复时间
		/// </summary>
		public string reltime
		{
		set{ _reltime=value;}
		get{return _reltime;}
		}
		/// <summary>
		/// 审核
		/// </summary>
		public int zt
		{
		set{ _zt=value;}
		get{return _zt;}
		}
		/// <summary>
		/// 点击量
		/// </summary>
		public int hits
		{
		set{ _hits=value;}
		get{return _hits;}
		}
		/// <summary>
		/// 类别
		/// </summary>
		public string Class
		{
		set{ _class=value;}
		get{return _class;}
		}
		/// <summary>
		/// 电话
		/// </summary>
		public string pho
		{
		set{ _pho=value;}
		get{return _pho;}
		}
        /// <summary>
        /// 性别
        /// </summary>
        public string sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
		#endregion Model

	}
    #endregion
}